﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Interfaces;

namespace Core.Domains
{
    class PrivatePerson:Customer,IPrivatePerson 
    {
        private string _fio;
        private string _pasportNumber;

        public string Fio
        {
            get { return _fio; }
            set { _fio = value; }
        }

        public string PasportNumber
        {
            get { return _pasportNumber; }
            set { _pasportNumber = value; }
        }

        public override void ConstructIt(object[] Record)
        {
            _fromDB = true;
        }
    }
}
